//
//  SecondCell.m
//  Buiom_7.0
//
//  Created by lanou3g on 15/10/28.
//  Copyright © 2015年 triffe. All rights reserved.
//

#import "SecondCell.h"

@implementation SecondCell

// 初始化cell
- (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        //
        self.leftPicView = [[UIImageView alloc] initWithFrame:CGRectMake(2, 5, kScreenWidth / 2, 140)];
        [self.contentView addSubview:self.leftPicView];
        //
        self.midPicView = [[UIImageView alloc] initWithFrame:CGRectMake(self.leftPicView.width / 2 - 20, 50, 40, 40)];
        self.midPicView.image = [UIImage imageNamed:@"xiaobofang"];
        [self.leftPicView addSubview:self.midPicView];
        
        self.titLable = [[UILabel alloc] initWithFrame:CGRectMake(self.leftPicView.left + self.leftPicView.width + 10, self.leftPicView.top + 15, kScreenWidth - 200, 50)];
        self.titLable.numberOfLines = 0;
        [self.contentView addSubview:self.titLable];
        
        self.replyLable = [[UILabel alloc] initWithFrame:CGRectMake(self.titLable.left, self.titLable.bottom + 5 , self.titLable.width, 30)];
        self.replyLable.font = [UIFont systemFontOfSize:14];
        self.replyLable.textColor = [UIColor lightGrayColor];
        [self.contentView addSubview:self.replyLable];
        
        
    }
    return self;
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
